<#import "../spring.ftl" as spring />
<#import "../inspector-time-macros.ftl" as imacro />
<html>
<head>
	<title>Admin login</title>
</head>
<body>

<div id="content">

	<span class="error">${RequestParameters.message!}</span>
	
	<@imacro.listErrors "becomeSomeoneForm" />
	
	<form action="becomeSomeone.html" method="post">

		<div class="formElement"><label>SELECT</label>	
			<@spring.bind "becomeSomeoneForm.email" />
		    <select id="${spring.status.expression}" name="${spring.status.expression}">
			    <#list userEmails as email>			    	
		    		<option value="${email}">${email}</option>
		        </#list>
			</select>
		</div>		
		<div class="formElement"><label>PASSWORD</label><@spring.formPasswordInput "becomeSomeoneForm.adminPassword", 'size="30"'/></div>
		<br class="clearBoth" />
		<input type="submit" value="LOGIN" class="formButton"/>
	</form>
</div>
</body>
</html>
